package wkt.notice;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import net.xnzn.framework.config.json.serializer.DateSerializer;

import java.time.LocalDate;

@Data
public class Notice {
    private Long id;
    private String title;
    private String content;
    private String state = "NORMAL";
    @JsonSerialize(using = DateSerializer.YYYY_MM_DD.class)
    private LocalDate createTime;
}

